package com.itbaizhan.openhis.vo;

import com.itbaizhan.openhis.domain.User;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Collections;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ActiverUser implements Serializable {

    private User user;
    //Collections.EMPTY_LIST 实际上就是返回了一个空的List,不对集合进行添加
    private List<String> roles= Collections.EMPTY_LIST; //角色
    private List<String> permissions = Collections.EMPTY_LIST;//权限

}
